home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
By Popular Request 2.0
/
By Popular Request 2.0 (Arsenal Computer).ISO
/
amiga_5
/
pltfdt02.ads
< prev
next >
Wrap
Text File
|
1995-03-29
|
3KB
|
85 lines
Amiga Distribution System - Long Description File
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Program Name : PlutFixDate - by - Mea Culpa & Peter Deane
-----------------------------------------------------------------------------
File 1 - pltfdt02.lha - 20342 ADOS Req'd
File 2 - - 0 [X] All [ ] WB1.x [ ] WB2.x [ ] WB3.x
File 3 - - 0 ChipSet Req'd
File 4 - - 0 [X] Any [ ] Orig [ ] ECS [ ] AGA
-----------------------------------------------------------------------------
Ram Req'd
[X] 512k [ ] 1meg [ ] 2meg [ ] 3meg [ ] ALOT!!!
Special Hardware
-----------------------------------------------------------------------------
Long Description
-----------------------------------------------------------------------------
Short: Sets proper dates of TrapDoor inbounds
Author: c8345041@cc.newcastle.edu.au
Uploader: c8345041@cc.newcastle.edu.au
Type: comm/fido
When TrapDoor receives a file, the date of this file is set to the time
it was received. This can be inconvenient in many cases. Fortunately
TrapDoor does store the original creation time in a filenote it makes
for the file. The TrapDoor manual has this to say:
When a file is received with Zmodem (or any of its
derivatives), the original date and time of the file is also
transferred and will be stored in a "Time" tag by TrapDoor. The
number behind the "Time" tag is a hexadecimal unix timestamp
(seconds since 1.1.1970, midnight).
So all we need to do is read all the files in the inbound directory for
these filenotes, and if we can find the "Time" tag, we can use it to
determine the real creation time of the file.
This program does just that, and - using the DOS "SetDate" command (thus
making this a 2.0+ only program - will drop the datestamp into the file.
PlutFileDate keeps an in-shell display of what's being done. Please
ensure the DOS program SetDate is in a search path somewhere so
PlutFileDate can do its stuff!
Sometimes a file will not have a "Time" tag. In this case, no action is
taken. Such files not only include files without comments, but files
that TrapDoor has had to rename, ie BUMPED filenames. These files don't
get the "Time" tag - the original filename is stored in the FileNote
instead.
If the file has a particularly long filename, TrapDoor sometimes
truncates the "Time" tag. If we cannot read the full 8 characters of
this string, again no action is taken.
Mea Culpa, Peter Deane
c8345041@cc.newcastle.edu.au
=============================================================================
ADS Zone: 1
ADS Hatch Site: Paul Miller
ADS Position: ADS Zone 1 STAR
BBS Name: Lonely Mountain BBS
Phone Number(s): 804-827-0726
Network Address: 1:271/292
Network Region: 13
BBS Hours: 24 Hrs/Day
BBS Mailer/Software: Mebbs-Net Pro BBS
BBS Storage Space: 2250 Megs + 8 CD Roms
File Requestable : <X> Y < > N
File Request Hours : All The Time
=============================================================================
ADS - Long Description Generator
(c)Copyright 1995 by Paul Miller